import http from "@/api" 

export const queryOrder = (id) => http.get(`/admin/pcServe/orders/${id}`)

export const deleteOrder = (id) => http.delete(`/admin/pcServe/removeOrders/${id}`)

export const queryOrder2 = () => http.get(`/admin/pcServe/orders/`)

export const takeOrders = (data) => http.put('/admin/pcServe/takeOrders', data)